GtkHeaderBar: Fix buildable function names
authorBastien Nocera <hadess@hadess.net>
Fri, 31 May 2013 10:59:46 +0000 (12:59 +0200)
committerBastien Nocera <hadess@hadess.net>
Fri, 14 Jun 2013 17:10:39 +0000 (19:10 +0200)
It's a GtkHeaderBar, not GtkHeader.

https://bugzilla.gnome.org/show_bug.cgi?id=701346

gtk/gtkheaderbar.c

index d08fbc6114a4bd16b02dac6f8e1e673085b8d4c0..63a280b5fc0980c92467988192ec79b52e08722c 100644 (file)
@@ -86,11 +86,11 @@ enum {
   CHILD_PROP_POSITION
 };
 
-static void gtk_header_buildable_init (GtkBuildableIface *iface);
+static void gtk_header_bar_buildable_init (GtkBuildableIface *iface);
 
 G_DEFINE_TYPE_WITH_CODE (GtkHeaderBar, gtk_header_bar, GTK_TYPE_CONTAINER,
                          G_IMPLEMENT_INTERFACE (GTK_TYPE_BUILDABLE,
-                                                gtk_header_buildable_init));
+                                                gtk_header_bar_buildable_init));
 
 static void
 boldify_label (GtkWidget *label)
@@ -1357,10 +1357,10 @@ gtk_header_bar_class_init (GtkHeaderBarClass *class)
 }
 
 static void
-gtk_header_buildable_add_child (GtkBuildable *buildable,
-                                GtkBuilder   *builder,
-                                GObject      *child,
-                                const gchar  *type)
+gtk_header_bar_buildable_add_child (GtkBuildable *buildable,
+                                    GtkBuilder   *builder,
+                                    GObject      *child,
+                                    const gchar  *type)
 {
   if (type && strcmp (type, "title") == 0)
     gtk_header_bar_set_custom_title (GTK_HEADER_BAR (buildable), GTK_WIDGET (child));
@@ -1371,9 +1371,9 @@ gtk_header_buildable_add_child (GtkBuildable *buildable,
 }
 
 static void
-gtk_header_buildable_init (GtkBuildableIface *iface)
+gtk_header_bar_buildable_init (GtkBuildableIface *iface)
 {
-  iface->add_child = gtk_header_buildable_add_child;
+  iface->add_child = gtk_header_bar_buildable_add_child;
 }
 
 /**